package com.example.victory.mapper;

import com.example.victory.swagger.model.CrmRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RoleMapper {
    /**
     * 获取所有角色
     *
     * @return 角色队列
     */
    @Select("select id,flbm as code,flmc as name from CRMII.TRYFLBM")
    List<CrmRole> getAll();
}
